package com.vision.bigDataApi.service.oracle.slyz.impl;

import com.vision.bigDataApi.mapper.oracle.slyz.SlyzMapper;
import com.vision.bigDataApi.service.oracle.slyz.SlyzService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class SlyzServiceImpl implements SlyzService {

    @Autowired
    private SlyzMapper slyzMapper;
    @Override
    public List<Map<String, Object>> getByEntInfo() throws Exception{
        List<Map<String, Object>> listMap = slyzMapper.getByEntInfo();
        return listMap;
    }

    @Override
    public List<Map<String, Object>> getByShipInfo()throws Exception {
        return slyzMapper.getByShipInfo();
    }

    @Override
    public List<Map<String, Object>> getByShipLicense()throws Exception {
        return slyzMapper.getByShipLicense();
    }

    @Override
    public List<Map<String, Object>> getByEntLicense()throws Exception {
        return slyzMapper.getByEntLicense();
    }
}
